import { ApiProperty } from "@nestjs/swagger"

export class MenuDto{
    @ApiProperty({description:'菜单ID'})
    menuId:number

    @ApiProperty({description:'菜单名称'})
    menuName:string

    @ApiProperty({description:'父级菜单ID'})
    parentId:number

    @ApiProperty({description:'菜单地址'})
    code:string

    @ApiProperty({description:'菜单类型1目录，2路由，3按钮'})
    menuType:number

    @ApiProperty({description:'菜单排序字段'})
    orderNum:number

    @ApiProperty({description:'菜单权限标识'})
    perms: string

}